import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {usersRouters} from './users-routing.module';
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {RouterModule} from "@angular/router";
import {UserLoginComponent} from "./user-login/user-login.component";
import {DirectivesModule} from "../../directives/directives.module";
import {ForgetPasswordComponent} from "./forget-password/forget-password.component";
import {UserRegisterComponent} from "./user-register/user-register.component";
import {NgZorroAntdModule} from "ng-zorro-antd";

const arr = [
  UserLoginComponent,
  ForgetPasswordComponent,
  UserRegisterComponent
]


@NgModule({
  declarations: [
    arr
  ],
  entryComponents:[
    arr
  ],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    NgZorroAntdModule,
    DirectivesModule,
    RouterModule.forChild(usersRouters)
  ],
  exports: [
    arr
  ]
})
export class UsersModule { }
